package com.legendshop.openportal.sdk.model.request;


import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstants.GET_AREA;

/**
 * @Description: 获取三级地址
 * @Author lwj
 * @data 2024/6/19
 **/
@Data
@Accessors(chain = true)
public class GetAreaRequest extends BaseRequest {
	private static final long serialVersionUID = 9048085073811528023L;
	/**
	 * 二级地址id
	 */
	@NotBlank(message = "二级地址ID不能为空")
	@ApiModelProperty(value = "二级地址ID")
	private String id;

	@Override
	@ApiModelProperty(hidden = true)
	public String getApiPath() {
		return GET_AREA;
	}
}
